<%--

 --%>
<%@ tag language="java" pageEncoding="UTF-8"%>
<%-- Add portlet taglibs to jsp --%>

<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt"%>

  <jsp:directive.attribute name="formName" type="java.lang.String" required="true"/>
  <jsp:directive.attribute name="menuList" type="java.util.List" required="true"/>

   <table>
    <c:forEach var="menuEnt" items="${menuList}">
    
        <tr>
          <td>
            <img border="0" src="/${requestScope.contextPath}/images/transparent.gif" width="20" height="20">
          </td>
        <td>
        <c:forEach begin="1" end="${menuEnt.level}">&nbsp;</c:forEach>
        <a style="COLOR: orange" href="#" onclick='submitMenu("<portlet:namespace/>","${formName}", "${menuEnt.eventid}", "${menuEnt.eventid}");' title="${menuEnt.tip}">
            <img border="0" src="/${requestScope.contextPath}/${menuEnt.iconpath}" width="20" height="20">${menuEnt.name}</a>
        </td></tr>
    </c:forEach>
   </table>